<?php

use Illuminate\Database\Seeder;

class MenuTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('menu')->insert([



//  fil虚拟机start
            [
                "id" => 10,
                "name" => "FIL虚拟机",
                "path" => "fil",
                "pid" => 0
            ],
            [
                "id" => 11,
                "name" => "统计和日志",
                "path" => "fillog",
                "pid" => 10
            ],
            [
                "id" => 12,
                "name" => "矿机绑定管理",
                "path" => "filminermanage",
                "pid" => 10
            ],
            [
                "id" => 13,
                "name" => "矿机配置",
                "path" => "fileminerconfig",
                "pid" => 10
            ],
            [
                "id" => 14,
                "name" => "资金账户收益提现审核",
                "path" => "filwithdraw",
                "pid" => 10
            ],
            [
                "id" => 15,
                "name" => "资金划转日志",
                "path" => "filtransferlog",
                "pid" => 10
            ],
//  fil虚拟机end
//  用户管理start
            [
                "id" => 20,
                "name" => "用户管理",
                "path" => "usermanage",
                "pid" => 0
            ],
            [
                "id" => 21,
                "name" => "用户列表",
                "path" => "userlist",
                "pid" => 20
            ],
//  用户管理end
//  营销系统start
            [
                "id" => 30,
                "name" => "营销系统",
                "path" => "articlemanage",
                "pid" => 0
            ],
            [
                "id" => 31,
                "name" => "文章列表",
                "path" => "articlelist",
                "pid" => 30
            ],
            [
                "id" => 32,
                "name" => "新建文章",
                "path" => "articlecreate",
                "pid" => 30
            ],
//  营销系统end
//  配置信息start
            [
                "id" => 40,
                "name" => "配置信息",
                "path" => "configmanage",
                "pid" => 0
            ],
            [
                "id" => 41,
                "name" => "系统配置",
                "path" => "systemconfig",
                "pid" => 40
            ],
            [
                "id" => 42,
                "name" => "等级配置",
                "path" => "levelconfig",
                "pid" => 40
            ],
//  配置信息end
//  管理员配置start
            [
                "id" => 50,
                "name" => "管理员配置",
                "path" => "permissionmanage",
                "pid" => 0
            ],
            [
                "id" => 51,
                "name" => "创建账号",
                "path" => "admincreate",
                "pid" => 50
            ],
            [
                "id" => 52,
                "name" => "账号管理",
                "path" => "adminlist",
                "pid" => 50
            ],
            [
                "id" => 53,
                "name" => "角色权限列表",
                "path" => "rolelist",
                "pid" => 50
            ],
            [
                "id" => 54,
                "name" => "创建角色配置",
                "path" => "rolecreate",
                "pid" => 50
            ]
//  管理员配置end
        ]);
    }
}
